package com.stars.entity.pshow;
import javax.validation.constraints.NotBlank;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Table;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModelProperty;
import com.stars.common.base.entity.BaseEntity;/**
 * @Title: 订单明细表实体
 * @author 肖伟
 * @date 2020-01-04
 * @version V1.0
 *
 */
@Data
@Table(name = "P_SHOW_ORDERS_INFO")
@EqualsAndHashCode(callSuper = false)
public class PShowOrdersInfoEntity extends BaseEntity{

	/**订单ID*/
	@Column(name = "P_SHOW_ORDERS_ID")
	@ApiModelProperty(value ="订单ID",name = "pShowOrdersId")
	private String pShowOrdersId;
	/**产品ID*/
	@Column(name = "PRODUCT_ID")
	@ApiModelProperty(value ="产品ID",name = "productId")
	private String productId;
	/**数量*/
	@ApiModelProperty(value ="数量",name = "number")
	private Long number;
	/**单价（元）*/
	@ApiModelProperty(value ="单价（元）",name = "price")
	private Double price;
	/**折扣*/
	@ApiModelProperty(value ="折扣",name = "discount")
	private Double discount;
	/**折扣价（元）*/
	@Column(name = "DISCOUNT_PRICE")
	@ApiModelProperty(value ="折扣价（元）",name = "discountPrice")
	private Double discountPrice;
	/**总价*/
	@Column(name = "SUM_PRICE")
	@ApiModelProperty(value ="总价",name = "sumPrice")
	private Double sumPrice;
	/**完成数量*/
	@Column(name = "DONE_NUMBER")
	@ApiModelProperty(value ="完成数量",name = "doneNumber")
	private Long doneNumber;
	/**状态*/
	@ApiModelProperty(value ="状态",name = "status")
	private Integer status;
}

